<script>
    localStorage.setItem('redirect', location.pathname + location.search + location.hash);
    location.href = '/m-app/';
</script>